<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Resolve host information for relation</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.dbplus-rcrtlike.html">dbplus_rcrtlike</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.dbplus-restorepos.html">dbplus_restorepos</a></div>
 <div class="up"><a href="ref.dbplus.html">DB++ 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.dbplus-resolve" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">dbplus_resolve</h1>
  <p class="verinfo">(PHP 4 &lt;= 4.1.0, PECL dbplus &gt;= 0.9)</p><p class="refpurpose"><span class="refname">dbplus_resolve</span> &mdash; <span class="dc-title">Resolve host information for relation</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.dbplus-resolve-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">array</span> <span class="methodname"><strong>dbplus_resolve</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$relation_name</code></span>
   )</div>

  <p class="para rdfs-comment">
   <span class="function"><strong>dbplus_resolve()</strong></span> will try to resolve the given
   <em><code class="parameter">relation_name</code></em> and find out internal server
   id, real hostname and the database path on this host. 
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.dbplus-resolve-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">relation_name</code></em></dt>

     <dd>

      <p class="para">
       The relation name.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.dbplus-resolve-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns an array containing these values under the keys
   <em>sid</em>, <em>host</em> and
   <em>host_path</em> or <strong><code>FALSE</code></strong> on error.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.dbplus-resolve-notes">
  <h3 class="title">注释</h3>
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象，包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.dbplus-resolve-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.dbplus-tcl.html" class="function" rel="rdfs-seeAlso">dbplus_tcl()</a> - Execute TCL code on server side</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.dbplus-rcrtlike.html">dbplus_rcrtlike</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.dbplus-restorepos.html">dbplus_restorepos</a></div>
 <div class="up"><a href="ref.dbplus.html">DB++ 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
